package cn.java78.entity;

public class Board {
    private String name;
    private double money;
    private Cpu cpu;
    private Ram ram;

    @Override
    public String toString() {
        return "Board{" +
                "name='" + name + '\'' +
                ", money=" + money +
                ", cpu=" + cpu +
                ", ram=" + ram +
                '}';
    }

    public Board() {
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public void setCpu(Cpu cpu) {
        this.cpu = cpu;
    }

    public void setRam(Ram ram) {
        this.ram = ram;
    }
}
